<div class="grid_4">
    <div class="da-panel">
        <div class="da-panel-header">
            <span class="da-panel-title">
                <img alt="Panel" src="<?php echo $this->themeUrl?>/files/theme/images/icons/black/16/computer_imac.png">
                Index
            </span>

        </div>
        <div class="da-panel-content with-padding">
            <form class="da-form">
                <fieldset>
                    <legend>Statistics</legend>
                    <div class="da-form-row">
                        <div class="da-form-col-8-8">
                            <div>Post Count: <?php echo number_format($this->post_count)?></div>         
                            <div>Manager Count: <?php echo $this->manager_count?></div>
                            <div>Bill Count: <?php echo $this->bill_count?></div>
                        </div>
                    </div>                
                </fieldset>
            </form>
            <br>
        </div>

    </div>
</div>
<script>
    $(function(){

            $('#re_index').click(function(e){
                    e.preventDefault();

                    $('#ajax-loading').fadeIn(function(){
                            $('#re_index_response').hide();
                            $.post('<?php echo $this->createUrl('/admin/page/reIndex')?>', function(data){
                                    $('#ajax-loading').fadeOut(function(){
                                            $('#re_index_response').show().text(data);
                                    });
                            })
                    })

            })
    })
</script>